package com.joysuch.wwyt.patrol.service;

import com.joysuch.wwyt.patrol.entity.PatrolCheckPlan;
import com.joysuch.wwyt.patrol.entity.PatrolTask;
import com.joysuch.wwyt.patrol.entity.PatrolUnfinishTask;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author heqifeng
 * @since 2022-03-01
 */
public interface PatrolUnfinishTaskService extends IService<PatrolUnfinishTask> {

    PatrolUnfinishTask genUnFinishMappingByTask(PatrolTask task);

    boolean deleteUnFinishTaskMapping(Long taskId);

    void scanUncheckTask();

    Integer batchSave(List<PatrolUnfinishTask> entityList, Integer batchSize);
}
